FROM docker.nb.bluetron.cn/library/openjdk:8-jdk-alpine-bluetron
VOLUME /tmp
ARG JAR_FILE
ADD ${JAR_FILE} /app/app.jar
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
RUN echo 'Asia/Shanghai' >/etc/timezone
EXPOSE 8009
ENTRYPOINT ["java","-jar","/app/app.jar"]